import { ref } from "vue"
import type { FnGuessInstance } from '@/types/components';

export const useGuessList = ()=>{
        const guessRef = ref<FnGuessInstance>()
        // scroll-view触底事件
        const onScrolltolower = () =>{
                guessRef.value?.getMore()
        }
        return {
                guessRef,
                onScrolltolower
        }
}